<template>
  <div class="container">
    <div class="ui-title">基础用法</div>
    <div class="card">
      <skeleton />
      <skeleton />
      <skeleton />
    </div>

    <div class="ui-title">自定义组合</div>
    <div class="card">
      <skeleton avatar />
      <skeleton />
      <skeleton />
      <skeleton />
    </div>
  </div>
</template>

<script>
import Skeleton from "../../components/skeleton";
export default {
  components: {
    Skeleton,
  },
  data() {
    return {};
  },
  methods: {},
};
</script>


<style lang="scss" scoped>
.container {
  min-height: 100vh;
  background: #fff;
  overflow: hidden;
  padding-bottom: 10px;

  .card {
    width: calc(100% - 30px);
    margin: auto;
    box-sizing: border-box;
  }
}
</style>